﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Register.Model;

namespace Register.IDAL
{
    /// <summary>
    /// FileName: IHospitalInfoDAL.cs
    /// CLRVersion: 4.0.30319.269
    /// Author: WangYan
    /// Corporation: 
    /// Description: 
    /// DateTime: 2012/6/26 12:58:02
    /// </summary>
    public   interface IHospitalInfoDAL
    {
        /// <summary>
        /// 获取所有医院
        /// </summary>
        /// <returns></returns>
       // List<HospitalInfo> GetHospitalInfos();
       // HospitalInfo GetHospitalInfoByID(String HospitalInfoID);
        #region  成员方法
        /// <summary>
        /// 增加一条数据
        /// </summary>
        int AddHospitalInfo(Model.HospitalInfo model);
        string GetParamNameById(string SystemParameter_ID);
        /// <summary>
        /// 更新一条数据
        /// </summary>
        int UpdateAdminInfo(HospitalInfo hospitalInfo);
        /// <summary>
        /// 删除一条数据
        /// </summary>
        int DeleteHospitalInfo(String hospitalID);

        Model.HospitalInfo GetHospitalInfo(string HospitalID);
        List<Model.HospitalInfo> GetPagedHospitalInfo(int size, int pageIndex, string where);

        int GetHospitalInfoCount(string where);
        //判断医院是否已经配置
        bool Exists(string hospitalID);

        /// <summary>
        /// 获取所有医院
        /// </summary>
        /// <returns></returns>
        List<HospitalInfo> GetHospitalInfos();
        HospitalInfo GetHospitalInfoByID(String HospitalInfoID);

        #endregion  成员方法
        


    }
}
